package com.github.chirspan.xaas.uc.service;

import com.github.chirspan.xaas.rbac.model.RbacRoleResource;

import java.util.List;
import java.util.Set;

/**
 * ************************
 * <p>角色Service</p>
 * *************************
 *
 * @author chenpan
 * @date 2021/2/8 11:50
 */
public interface IRbacRoleService {

    void updateRoleResource(String roleId, String[] resourceIds);

    List<RbacRoleResource> getRoleResourcesById(String roleId);

    List<String> getRoleIdsByRole(Set<String> roles);
}
